#ifndef ROBOTSCRIPTI_H
#define ROBOTSCRIPTI_H
#include <RobotDef.h>
#include "tmscriptrun.h"

extern TmScriptRun* g_pRobotScript;
extern QString strScriptDir;

class RobotScriptI : public Robot::Script
{
public:
    RobotScriptI();

    // Script interface
public:
    void Play(const std::string & strPath, const Ice::Current &);
    void PlayContent(const std::string &strContent, const Ice::Current &);
    void Stop(const Ice::Current &);
    bool IsPlaying(const Ice::Current &);
    std::string GetPath(const Ice::Current &);
    std::string ListScripts(const Ice::Current &);
};

#endif // ROBOTSCRIPTI_H
